JavaScript

listObj.showHideColumn Method

Syntax

listObj.showHideColumn(columnNumber, flagShow);

Arguments

columnNumbernumber

Zero based column number to show or hide.

flagShowboolean

If true, column is shown. If false, column is hidden.

Description

Show or hide a column in a List.

Example

var listObj = {dialog.object}.getControl('LIST1');

if (listObj) {
    //Hide the second column
    listObj.showHideColumn(1,false);
}

See Also